package com.arc.spring.entity;

import lombok.Data;
import lombok.ToString;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@ToString
public class Teacher {

    private Integer id;
    private String name;
    private String[] cls;
    private List<String> clss;
    private Set<String> sets;
    private List<Student> students;
    private Map<String, String> bossMap;

    public Teacher() {
        System.out.println(this.getClass().getName() + " NoArgsConstructor");
    }

    public Teacher(Integer id, String name, String[] cls, List<String> clss, Set<String> sets, List<Student> students, Map<String, String> bossMap) {
        System.out.printf("%s Constructor: id=%s, name=%s, cls=%s, students=%s, bossMap=%s%n",
                this.getClass().getName(), id, name, Arrays.toString(cls), clss, students, bossMap);
        this.id = id;
        this.name = name;
        this.cls = cls;
        this.clss = clss;
        this.sets = sets;
        this.students = students;
        this.bossMap = bossMap;
    }

}
